﻿
namespace Mulala.Cavan.Domain.MainBoundedContext.SearchModule
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    public static class NannyCommentSearchFactory
    {
        public static NannyCommentSearch CreateNannyCommentSearch(int nannyID, IDictionary<string, bool> orderBy, int currentPage, int maxRowsPerPage)
        {
            NannyCommentSearch search = new NannyCommentSearch();
            search.NannyID = nannyID;
            search.CurrentPage = currentPage;
            search.OrderBy = orderBy;
            search.MaxRowsPerPage = maxRowsPerPage;

            return search;
        }
    }
}
